<template>
  <main class="min-h-screen max-w-sm mx-auto bg-white relative">
    <router-view></router-view>
    <!-- <van-button @click="$router.push('/')">home</van-button>
    <van-button @click="$router.push('/about')">about</van-button> -->
  </main>
</template>

<script>
var ua = window.navigator.userAgent.toLowerCase()
const is_wx = ua.match(/MicroMessenger/i) == 'micromessenger'

export default {
  data() {
    return {}
  },
  created() {},
  provide() {
    return {
      isWx: is_wx,
    }
  },
}
</script>

<style>
@import '//at.alicdn.com/t/font_2764118_yk41ie2j98a.css';
</style>
